package com.easybbs.entity.vo.web;

import lombok.Data;

import javax.validation.constraints.Max;
import javax.validation.constraints.Min;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @Author: yudaxian
 * @Description: TODO
 * @DateTime: 2024/10/22 14:30
 **/
@Data
public class ForumArticleDoLikeReqVO {

    @NotBlank(message = "objectId不能为空")
    private String objectId;

    @NotNull(message = "type不能为空")
    @Min(value = 0, message = "type只能为0或1")
    @Max(value = 1, message = "type只能为0或1")
    private Integer type;

}
